package com.shrct.businessprocess.process_test;

import com.shrct.businessprocess.organization.RCEmployee;
import com.shrct.businessprocess.process_test.PItem;
import com.shrct.businessprocess.process_test.impl.PItemProcessImpl;
import com.shrct.businessprocess.process_test.proxy.PItemProcessProxy;
import edu.fudan.langlab.domain.workflow.BusinessProcess;
import edu.fudan.mylang.pf.EntityImplementation;

@EntityImplementation(implementBy = PItemProcessImpl.class)
public interface PItemProcess extends BusinessProcess {
  public abstract void start(final String comment, final PItem pitem, final Integer newCount, final RCEmployee manager);
  
  public abstract void evaluate_reject(final String comment);
  
  public abstract void evaluate_agree();
  
  public abstract void modify(final String comment, final Integer newCount);
  
  public abstract PItem getPitem();
  
  public abstract PItemProcess setPitem(final PItem pitem);
  
  public abstract Integer getNewCount();
  
  public abstract PItemProcess setNewCount(final Integer newCount);
  
  public abstract RCEmployee getMyProcessManager();
  
  public abstract PItemProcess setMyProcessManager(final RCEmployee myProcessManager);
  
  public abstract PItemProcessProxy toProxy();
}
